#pragma once
#include "wceuidlg.h"
#include "WEILayer.h"
#include "IApp.h"

class CMainDlg : public CWceUiDlg
{
	WCEUI_DYNCREATE_BEGIN(CMainDlg, CWceUiDlg)
public:
	CMainDlg(void);
	virtual ~CMainDlg(void);

	virtual void OnLButtonDown(UINT nFlags,  POINT point);
	virtual LRESULT OnCommand(UINT uCommand, WPARAM wParam, LPARAM lParam);
	virtual void OnInitDialog();

private:
	void OnCmd(CWceUiLayer* pLayer);
	CWEILayer* m_pFrame;



};
WCEUI_DYNCREATE_END(CMainDlg, CWceUiDlg)
